package com.zq.it.dao.admin;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import com.zq.it.pojo.Address;

public interface TAddressDao {
	
	public void saveAddressEty(Address address);
	public void saveAddressEtyList(Collection<Address> collection);
	public void deleteAddressEtyByID(Integer id);
	public void deleteAddressEtyByObj(Address address);
	public void deleteAllEty(Integer[] collection);
	public List<Address> findAddressEtyList();
	public  List findAddressEtyById(Integer id);	
	public void updateAddressEty(Address address);
	public List findAddressEtyByName(String name);
	//public List findAddressEtyByDate(Date date);
	public List findAddressEtyByExmp(Address address);
	public List findAdrByHQL(String hql);
	public List findAdrBySQL(String sql);

}
